package gui;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.GridLayout;

import javax.swing.JPanel;
import javax.swing.JTextPane;
import javax.swing.text.BadLocationException;
import javax.swing.text.SimpleAttributeSet;
import javax.swing.text.StyleConstants;

/**
 * Gestor de el panel de inicio
 */
public class PanelInicio extends JPanel {
	/**
	 * Constructor del objeto PanelInicio
	 */
	public PanelInicio(){
		
		JTextPane t= new JTextPane();
		SimpleAttributeSet atb= new SimpleAttributeSet();
		StyleConstants.setBold(atb,  true); //negrita
		StyleConstants.setFontSize(atb, 50);
		StyleConstants.setBackground(atb, new Color(0xEEEEEE));
		try {
			t.getStyledDocument().insertString(t.getStyledDocument().getLength(),"BIENVENIDOS", atb);
		} catch (BadLocationException e) {
			e.printStackTrace();
		}
		this.add(t);
		
		
	}

}